<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv=content-type content="text/html; charset=UTF-8"/>
	<title>订单</title>
	<link rel="stylesheet" href="/css/index.css" type="text/css" media="screen" charset="utf-8"/>
</head>
<body>
<jsp:include page="../common/header.jsp"/>

<div id="bdw" class="bdw">
	<div id="bd" class="cf">
		<div id="content">
			<form action="" method="post" class="validator">
				<input id="deal-per-number" value="1" type="hidden"/>

				<div id="deal-buy" class="box">
					<div class="box-top"></div>
					<div class="box-content">
						<div class="head">
							<h2>提交订单</h2>
						</div>
						<div class="sect">
							<table class="order-table">
								<tr>
									<th class="deal-buy-desc">项目</th>
									<th class="deal-buy-quantity">数量</th>
									<th class="deal-buy-multi"></th>
									<th class="deal-buy-price">价格</th>
									<th class="deal-buy-equal"></th>
									<th class="deal-buy-total">总价</th>
								</tr>
								<tr>
									<td class="deal-buy-desc">
										${item.title}
									</td>
									<td class="deal-buy-quantity">
										<input type="text" class="input-text f-input" maxlength="4"
											   name="quantity" value="1" id="deal-buy-quantity-input"
											   readonly/>
										<br/>
										<span style="font-size: 12px; color: gray;">最多1件</span>
									</td>
									<td class="deal-buy-multi">
										x
									</td>
									<td class="deal-buy-price">
										<span class="money">¥</span><span id="deal-buy-price">${item.groupPrice}</span>
									</td>
									<td class="deal-buy-equal">
										=
									</td>
									<td class="deal-buy-total">
										<span class="money">¥</span><span id="deal-buy-total">${item.groupPrice}</span>
									</td>
								</tr>

								<tr class="order-total">
									<td class="deal-buy-desc">
										<strong>订单总额：</strong>
									</td>
									<td class="deal-buy-quantity"></td>
									<td class="deal-buy-multi"></td>
									<td class="deal-buy-price"></td>
									<td class="deal-buy-equal">=</td>
									<td class="deal-buy-total">
										<span class="money">¥</span><strong id="deal-buy-total-t">${item.groupPrice}</strong>
									</td>
								</tr>
							</table>
							<div class="field mobile">
								<label>
									订单附言
								</label>
								<textarea name="remark"
										  style="width: 500px; height: 80px; padding: 2px;"></textarea>
							</div>
							<input id="deal-buy-cardcode" type="hidden" name="cardcode" maxlength="8" value=""/>
							<input type="hidden" name="id" value="1"/>

							<div class="form-submit">
								<input type="submit" class="formbutton" name="buy"
									   value="确认无误，购买"/>
							</div>
						</div>
					</div>
					<div class="box-bottom"></div>
				</div>
			</form>
		</div>
		<div id="sidebar">
			<div class="sbox">
				<div class="sbox-top"></div>
				<div class="sbox-content">
					<div class="credit">
						<h2>
							帐户余额
						</h2>

						<p>
							您的帐户余额：
							<span class="money">¥</span>0
						</p>
					</div>
				</div>
				<div class="sbox-bottom"></div>
			</div>
		</div>
	</div>
</div>
<jsp:include page="../common/footer.jsp"/>
</body>
</html>
		